x86: make pxm_to_node() return sane values when disabling NUMA internally
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 26 Apr 2010 11:11:30 +0000 (12:11 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 26 Apr 2010 11:11:30 +0000 (12:11 +0100)
commitefaca454ab76878603ed9c2ce61b94e9bba0fe35
treef679df1292a8740f74233f0ec6de66e83f6a3744
parent6b19626a0ed860773df316e8cacf15017fd9c470
x86: make pxm_to_node() return sane values when disabling NUMA internally

Otherwise, pass-through code may call memory allocation functions with
invalid node IDs, causing the allocations to fail.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/srat.c